package com.yusvn.scm.common.routes;

import com.jfinal.config.Routes;
import com.yusvn.scm.common.interceptor.LoginInterceptor;
import com.yusvn.scm.goods.bi.controller.ScmBiController;

/**
 * 管理后台路由
 * @author liugz
 *
 */
public class BiRoutes extends Routes {

	@Override
	public void config() {
		
		//登陆拦截器
		addInterceptor(new LoginInterceptor());
		
		//BI报表模块
		add("/api/scm/bi", ScmBiController.class);
		
	}

}
